package com.rgs.platform.filter;

import com.rgs.base.database.sql.ISqlFilter;
import com.rgs.base.database.sql.LikeTypeEnum;
import com.rgs.base.database.sql.SqlFilterAnnotation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program: com-rgs-parent
 * @description:
 * @author: Mr.Ren
 * @create: 2022-12-01 09:37
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CovidInfoFilterDTO implements ISqlFilter {
    @SqlFilterAnnotation(columnName = "id")
    private String id;

    /**
     * 父城市编号
     */
    @SqlFilterAnnotation(columnName = "pid")
    private Integer pid;
    /**
     * 位置编码
     */
    @SqlFilterAnnotation(columnName = "locationId",likeType = LikeTypeEnum.FULL)
    private Integer locationId;
    /**
     * 省名称
     */
    @SqlFilterAnnotation(columnName = "provinceName",likeType = LikeTypeEnum.FULL)
    private String provinceName;
    /**
     * 省简称
     */
    @SqlFilterAnnotation(columnName = "provinceShortName",likeType = LikeTypeEnum.FULL)
    private String provinceShortName;
    /**
     * 城市名称
     */
    @SqlFilterAnnotation(columnName = "cityName",likeType = LikeTypeEnum.FULL)
    private String cityName;

    /**
     * 日期
     */
    @SqlFilterAnnotation(columnName = "dateTimeStr")
    private String dateTimeStr;

    /**
     * 城市类型  1城市 2省份
     */
    @SqlFilterAnnotation(columnName = "cityType")
    private Integer cityType;


    private String orderByClause;
}
